#include <stdio.h>

int main(int argc,char *argv[])
{
	int a;
	int b;
	int c;
	
	scanf("%d %d",&a,&b);
	
	c = (a = a + b,a / 2);
	
	printf("c = %d\n",c);
	
	return 0;
}